<!DOCTYPE html>
<html lang="en">

<head>
	<{include file="header.html" }>
		<title>学员科目管理-学员管理-
			<{$user_data[ 'school_name']}>-德安信会计在线教育平台</title>
</head>

<body>
	<div class="wrap">
		<!--star left-->
		<div class="column">
			<{include file="left_menu.html" }>
		</div>
		<div id="ContMianBox">

			<!--star子栏目-->
			<div class="sub-colum">
                <div class="tit"><{$left_menu_min.menu}></div>
                <ul>
                    <{foreach from=$left_menu_min.list item=item}>
                    <li <{if $item['url'] == $left_menu_min.curr}>class="curr"<{/if}>><a href="<{$item['url']}>"><{$item['name']}></a></li>
                    <{/foreach}>
                </ul>
            </div>
			<!--end子栏目-->

			<!--end left-->
			<div class="container narrow">
				<!--star conter-->
				<div class="cetContent">
					<div class="tit p-lr20">
						<span class="curr">学员科目管理</span>
					</div>
					<div class="mainContainer line-all" style="min-height:inherit;">
								<dl class="fix">

									<dd>
										<div class="l" style="width:300px;">
											<div class="p-tb5 ">
												<span class="">学生姓名：<{$student[ 'name']}></span>
											</div>
											<div class="p-tb5"><span class="c-ff6600">加入时间：<{$student[ 'add_time']|date_format: '%Y-%m-%d'}></span></div>
											<div> <span class="">联系电话：<{$student[ 'phone']}></span></div>
											<div class="p-tb5"><span class="">性别：
											<{if $student[ 'sex']==1}>
											男
											<{elseif $student[ 'sex']==2}>
											女
											<{else}>
											未知
											<{/if}>
											</span>
											</div>
											<div><span class="">生日：<{$student[ 'birthday']|date_format: '%Y-%m-%d'}></span></div>
											<div class="p-tb5"><span class="">学历：
											<{if $student[ 'edu']==1}>
											高中
											<{elseif $student[ 'edu']==2}>
											大专
											<{elseif $student[ 'edu']==3}>本科
											<{elseif $student[ 'edu']==4}>研究生
											<{elseif $student[ 'edu']==9}>其他
											<{else}>
											其他
											<{/if}>
											</span>
											</div>

											<div>
												<span class="">上课时间：
													<{if $student['class_time']}>
												<{if 0|in_array:json_decode($student['class_time'])}>
												不限
												<{/if}>
												<{if 1|in_array:json_decode($student['class_time'])}>
												白天
												<{/if}>
												<{if 2|in_array:json_decode($student['class_time'])}>
												晚上
												<{/if}>
												<{if 3|in_array:json_decode($student['class_time'])}>
												周末
												<{/if}>
												<{if 4|in_array:json_decode($student['class_time'])}>
												工作日
												<{/if}>
												<{/if}>
												</span>
											</div>
											<div>
												<span class="">报读校区：
												<{$student['campus_name']}>

												</span>
											</div>
										</div>
										<div class="l tac" style="width:300px;">
											<a class="layui-btn layui-btn-danger" href="/student/add_subject/<{$student['student_id']}>">添加科目</a>

										</div>
									</dd>
								</dl>
							</div>

					<!--star内容区域-->
					<div class="mainScroll">
						<div class="mainContainer line-all">
							<!--star tabMainCont-->
							<div class="tabMainCont">


								<!--商品列表 star-->
								<div class="goods_list p-t10">
									<div class="mtc_tab">
										<!--star mt-->
										<div class="mt">

											<!-- <a href="javascript:;" >全部</a> -->
											<a href="/student/subject_list/<{$student['student_id']}>" class="curr">所选科目</a>
											<!-- <a href="javascript:;">已结业</a> -->

										</div>
										<!--end mt-->
										<!--star mc-->
										<div class="mc">

											<div class="u_table_list m-t20">
												<!--star 商品-->
												<div class="table002">
													<table class="layui-table" lay-skin="line">
														<colgroup>
															<col width="%">
															<col width="%">
															<col width="%">
															<col width="%">
															<col width="%">

														</colgroup>
														<tbody>
															<tr>
																<th>课程科目</th>
																<th>课程分类</th>
																<th>状态</th>

																<th>加入时间</th>


																<th>操作</th>
															</tr>
														</tbody>
														<tbody>
															<{foreach from=$course_list item=item}>
																<tr>
																	<td class="not_lb tal">
																		<{$item[ 'title']}>
																	</td>
																	<td class="not_lb tal">
																	<{$item[ 'category_name']}>
																	</td>
																	<td class="not_lb tal">
																	<{if $item['status']==0}>
																	未分班
																	<{elseif $item['status']==1}>
																	已分班
																	<{/if}>
																	</td>

																	<td class="not_lb tal">
																		<{$item[ 'add_time']|date_format: '%Y-%m-%d'}>
																	</td>

																	<td class="not_lb tal">
																	<div class="colorBtn">
																	<{if $item['status']==0}>
																	<p><a href="/student/allot_class/<{$item[ 'id']}>">分配班级</a></p>
																	<p><a href="/student/delete_subject/<{$item['id']}>/<{$student['student_id']}>" onclick="return confirm('确定要删除学员【<{$student[ 'name']}>】的【<{$item[ 'title']}>】课程吗？')">删除科目</a></p>

																	<{/if}>

																	</div>
																	</td>
																</tr>
																<{/foreach}>
														</tbody>
													</table>
												</div>
												<!--end 商品-->
											</div>
											<div class="pages p-tb20 hide" style="text-align:right;">
												<div class="l">
													<a href="javascript:;" class="zent-btn">未知按钮</a>
													<a href="javascript:;" class="zent-btn">未知按钮</a>
													<a href="javascript:;" class="zent-btn">未知按钮</a>
													<a href="javascript:;" class="zent-btn">未知按钮</a>
												</div>
												<ul>
													<li><a>上一页</a></li>
													<li><a>1</a></li>
													<li class="active"><a>2</a></li>
													<li><a>3</a></li>
													<li><a>4</a></li>
													<li>...</li>
													<li><a>100</a></li>
													<li><a>下一页</a></li>
												</ul>
												<form>
													共100页到第
													<input type="text" value="1" class="inputwh"> 页
												</form>
											</div>
										</div>
										<!--end mc-->
									</div>

								</div>
								<!--商品列表 end -->
							</div>
							<!--end tabMainCont-->
						</div>

					</div>
				</div>
				<!--end内容区域-->

				<!--end conter-->
			</div>


		</div>
	</div>
	<{include file="footer.html"}>
</body>

</html>
